package com.lucky.common.enums;


import org.springframework.security.web.context.HttpSessionSecurityContextRepository;

import java.util.Arrays;
import java.util.List;

public interface AppConst {

	public static final String security = HttpSessionSecurityContextRepository.SPRING_SECURITY_CONTEXT_KEY;

	public static final String org = "org";
	public static final String user = "user";
	public static final String userPO = "userPO";
	public static final String roles = "roles";
	public static final String perms = "perms";


	public static final String not_login = "/error/notLogin";

	/** 凭证上传附件的文件后缀类型 1 pdf*/
	public static final String ATTACH_PDF = ".pdf";
	/** 凭证上传附件的文件后缀类型 2 jpg*/
	public static final String ATTACH_JPG = ".jpg";
	/** 凭证上传附件的文件后缀类型 3 jpeg*/
	public static final String ATTACH_JPEG = ".jpeg";
	/** 凭证上传附件的文件后缀类型 4 png*/
	public static final String ATTACH_PNG = ".png";
	/** 凭证上传附件的文件后缀类型 5 rar*/
	public static final String ATTACH_RAR = ".rar";
	/** 凭证上传附件的文件后缀类型 6 zip*/
	public static final String ATTACH_ZIP = ".zip";
	/** 凭证上传附件的文件后缀类型 7 txt*/
	public static final String ATTACH_TXT = ".txt";
	/** 批量上传账款和批量确认账款 用的 xls */
	public static final String ATTACH_XLS = ".xls";

    public static final List<String> ATTACH_TYPE = Arrays.asList(ATTACH_PDF, ATTACH_JPG, ATTACH_JPEG ,ATTACH_PNG,ATTACH_PNG ,ATTACH_ZIP ,ATTACH_XLS);



}
